#ifndef _data_refresh_H_
#define _data_refresh_H_

#include "User.h"


class data_refresh
{
    public:
    
    void refre_weather(u8 mode);
    void refre_time();
    void low_power_set();

    
    

    
    private:
    u8 conect_wifi();
    u8 get_location();
    u8 weather();

    
    
    

};

extern data_refresh dat;

extern u8 sleep_flg ;//菜单选择是否低功耗
extern u8 fail_count ;
extern u8 low_power_flg ;
extern s8 love_y;
extern u8 love_mode;

#endif